package com.easm.servicemanager.controller;


import com.easm.commonutils.CommonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api("教务处管理系统")
@RestController
@RequestMapping("/service/manager")
public class ManagerController {

    //info
    @GetMapping("info")
    @ApiOperation("教务处信息")
    public CommonResult info() {
        return CommonResult.ok().data("roles","[admin]").data("name","admin").data("info","教务处管理信息");
    }
}
